package com.bwie.product.service;

import com.bwie.common.domain.Coupon;
import com.bwie.common.domain.Product;
import com.bwie.common.domain.request.ProductRequest;
import com.bwie.common.domain.request.ShopRequset;

import java.util.List;

public interface ProductService {
    List<ProductRequest> showAll();

    Integer shopAttention(Integer productId);

    void updPack(int randomNumber, Integer userId);

    List<Product> findId(Integer productId);

    Integer addCar(ShopRequset shopRequset);

    Integer addCoupon(Coupon coupon);

    void minusCoupon(Integer systemId, Integer systemNum, int count);
}
